package com.company.dcm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 四分制报告单
 * @TableName rf_cloth_sheet_four_score
 */
@TableName(value ="rf_cloth_sheet_four_score")
@Data
public class R_ClothSheetFourScore implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 检测时间
     */
    @TableField(value = "check_date")
    private Date checkDate;

    /**
     * 布匹编号
     */
    @TableField(value = "cloth_code")
    private String clothCode;

    /**
     * 终端设备号
     */
    @TableField(value = "device_code")
    private String deviceCode;

    /**
     * 布的种类
     */
    @TableField(value = "cloth_type")
    private String clothType;

    /**
     * 当前报告总圈数
     */
    @TableField(value = "circle_sum")
    private Integer circleSum;

    /**
     * 当前报告总轮数
     */
    @TableField(value = "turn_sum")
    private Integer turnSum;

    /**
     * 当前报告总瑕疵数轮数
     */
    @TableField(value = "defect_turn_sum")
    private Integer defectTurnSum;

    /**
     * 当前报告总瑕疵图片数
     */
    @TableField(value = "defect_pic_sum")
    private Integer defectPicSum;

    /**
     * 总停机数
     */
    @TableField(value = "stop_sum")
    private Integer stopSum;

    /**
     * 订单号
     */
    @TableField(value = "order_code")
    private String orderCode;

    /**
     * 工单号
     */
    @TableField(value = "worker_code")
    private String workerCode;

    /**
     * 织布工
     */
    @TableField(value = "cloth_inspector")
    private String clothInspector;

    /**
     * 验布工
     */
    @TableField(value = "weaver")
    private String weaver;

    /**
     * 生产日期
     */
    @TableField(value = "product_date")
    private Date productDate;

    /**
     * 序列号
     */
    @TableField(value = "serial_no")
    private String serialNo;

    /**
     * 状态（0、进行中；1、完成）
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 布飞编号
     */
    @TableField(value = "bu_fei_code")
    private String buFeiCode;

    /**
     * 品质等级
     */
    @TableField(value = "quality_level")
    private String qualityLevel;

    /**
     * 布面面积
     */
    @TableField(value = "area")
    private Integer area;

    /**
     * 重量
     */
    @TableField(value = "weight")
    private Integer weight;

    /**
     * 缸号
     */
    @TableField(value = "cylinder_code")
    private String cylinderCode;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private Boolean hasDetails;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete")
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}